Goto

Collaborating Authors

 awentzonline image-analogy


awentzonline/image-analogies

#artificialintelligence

This is basically an implementation of this "Image Analogies" paper, In our case, we use feature maps from VGG16. The patch matching and blending is inspired by the method described in "Combining Markov Random Fields and Convolutional Neural Networks for Image Synthesis". Effects similar to that paper can be achieved by turning off the analogy loss (or leave it on!) Also, instead of using brute-force patch matching we use the PatchMatch algorithm to approximate the best patch matches. The initial code was adapted from the Keras "neural style transfer" example.